<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.xea.model.Information"%>
<%@page import="com.xea.service.InformationService"%>
<%@include file="../inner/head.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<link type="text/css" rel="stylesheet" href="${basepath}/res/images/style.css" />
<body>
<div class="bg">
	<div class="bg">
	<div class="container">
		<%@include file="top.jsp" %>
		<div id="list">
			<%@include file="product/left.jsp" %>
			<div id="list_r">
			  <div style="margin:0px 30px 100px 30px;border:1px solid #aeaeae;">
				<div style="line-height:48px;font-size:22px;font-weight: bold;font-family: '黑体';text-align: left;margin-left: 20px;background:url('${basepath}/res/images/information.png') no-repeat;" ><b style="margin-left: 70px">Information Detail</b></div>
				<div style="line-height:48px;text-align: left;margin-left: 30px;">
				<%
					InformationService informationDao = ServiceFactory.getInformationService();
					String id=request.getParameter("id");
					Information information = informationDao.findById(Integer.valueOf(id));
				 %>		
				<table width="95%" cellspacing="0" cellpadding="0" border="0" align="center">
					<tr>
						<td height="40" align="center" style="font-size:16px;font-weight: bold;"><%=information.getTitle() %></td>
					</tr>
					<tr>
						<td valign="top" align="left" style="font-size:14px;"><%=information.getContent() %></td>
					</tr>
					<tr>
						<td height="40" align="right"><%=information.getCreateDate() %></td>
					</tr>
				</table>
				</div>
			  </div>
			</div>
		</div>
	  	<%@include file="tail.jsp" %>
	</div>
	</div>
</div>
</body>
